package com.pandora.credit.entity;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.sql.Timestamp;

/**
 * @author developer
 */
public class AppUpgrade {
  private long id;
  private String platform;
  @JsonProperty("os_version")
  private String osVersion;
  private String model;
  private String brand;
  @JsonProperty("force_upgrade_versions")
  private String forceUpgradeVersions;
  @JsonProperty("upgrade_version")
  private String upgradeVersion;
  @JsonProperty("current_version")
  private String currentVersion;
  @JsonProperty("download_url")
  private String downloadUrl;
  private int valid;
  @JsonProperty("create_time")
  private Timestamp createTime;
  @JsonProperty("update_time")
  private Timestamp updateTime;
  private String message;

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }

  public String getPlatform() {
    return platform;
  }

  public void setPlatform(String platform) {
    this.platform = platform;
  }

  public String getOsVersion() {
    return osVersion;
  }

  public void setOsVersion(String osVersion) {
    this.osVersion = osVersion;
  }

  public String getModel() {
    return model;
  }

  public void setModel(String model) {
    this.model = model;
  }

  public String getBrand() {
    return brand;
  }

  public void setBrand(String brand) {
    this.brand = brand;
  }

  public String getForceUpgradeVersions() {
    return forceUpgradeVersions;
  }

  public void setForceUpgradeVersions(String forceUpgradeVersions) {
    this.forceUpgradeVersions = forceUpgradeVersions;
  }

  public String getUpgradeVersion() {
    return upgradeVersion;
  }

  public void setUpgradeVersion(String upgradeVersion) {
    this.upgradeVersion = upgradeVersion;
  }

  public String getCurrentVersion() {
    return currentVersion;
  }

  public void setCurrentVersion(String currentVersion) {
    this.currentVersion = currentVersion;
  }

  public String getDownloadUrl() {
    return downloadUrl;
  }

  public void setDownloadUrl(String downloadUrl) {
    this.downloadUrl = downloadUrl;
  }

  public int getValid() {
    return valid;
  }

  public void setValid(int valid) {
    this.valid = valid;
  }

  public Timestamp getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Timestamp createTime) {
    this.createTime = createTime;
  }

  public Timestamp getUpdateTime() {
    return updateTime;
  }

  public void setUpdateTime(Timestamp updateTime) {
    this.updateTime = updateTime;
  }

  public String getMessage() {
    return message;
  }

  public void setMessage(String message) {
    this.message = message;
  }
}
